/*
	Copyright (c) 2009-2011, Stefan Webb.

	This file is part of SimpleML. Please read the file "license.txt", 
	which contains the conditions under which this software is distributed.
*/

/*!
	\file stack.h
	\author Stefan Webb
	\brief Definition of the Stack class template
*/

#ifndef STACK_H
#define STACK_H

//#include "stdafx.h"

/*! \brief Class to use stack. */
template <class T = unsigned int> class Stack : public Bucket<T>
{
public:
	/*! Default constructor. */
	Stack();

	/*! \brief Constructor with capacity. 
		\param capacity Initial and minimum capacity of pointer stack. */
	Stack(unsigned int capacity);
};

/* Default constructor. */
template <class T> Stack<T>::Stack() {}

/* Constructor with capacity. */
template <class T> Stack<T>::Stack(unsigned int capacity) : Bucket(capacity) {}

#endif